home *** CD-ROM | disk | FTP | other *** search
-
- ------------ 10 Nifty things you can do with PocketD Plus ------------
-
- These are command-line examples. All of PocketD's features can also be
- accessed via the MENUD menu-driven interface.
-
- 1. Use it instead of DOS's DIR for viewing your directories.
-
- Just typing "D" gives you a sorted color double column display
- that pauses when the screen is full. In addition to this you can
- add your own configurable color-coding of filenames and more
- tailoring and display options than any other directory listing
- program (as of Jun93). Add just one option and:
-
- D /Q Turns D into a full scrolling browsing tool, allowing
- files to be viewed, copied or run, and archives and
- subdirectories to be explored. If the programs PKUNZIP
- etc. are available, then D will also allow archived
- files to be viewed or un-archived. (/Qz allows file
- delete).
-
- D /? Gives one help page, with information for accessing the
- 107k of on-line help.
-
- 2. Use it to backup your disks
-
- D /WTccu A:
-
- would search the (W)hole drive for files modified or created
- (T)oday and (c)opy them to drive A:, providing that either the
- file does not already exist on A: or is older. (PocketD provides
- 23 copy sub-options).
-
- 3. Look for hard-to-find files
-
- D *ASP* *BBS*93* /W!E'Shareware' /c
-
- would search the (W)hole drive for files with names containing the
- string "ASP" or "BBS" followed later by "93", where the file is
- non-(E)xecutable and contains the string 'Shareware' inside the
- file. Any files found can then be optionally viewed and/or copied
- to the current directory. You can make this search more specific
- by adding size and date ranges and multiple include/exclude
- filespecs.
-
- 4. Create a BAT file that could re-build the subdirectory structure of
- your hard disk
-
- D /WDu[md $w//] > RESTDIR.BAT
-
- 5. Uncompress each ZIP file on A: into its own subdirectory on the
- current drive.
-
- D a:*.ZIP [MD $n//PKUNZIP $w $n\]R
-
- 6. Take a PROCOMM log file and rename it to give a unique name
-
- D PCPLUS.LOG LOG* [REN $f LOG$05F]RKv
-
- giving LOG00001 for the first, and LOG00002 for the next one etc..
-
- 7. Search for files in any subdirectory or ZIP, ARC, PAK, LZH, ZOO,
- ARJ or SFX "self-uncompressing" archive
-
- D *.TXT *=D=D* /WZ
-
- would search the current drive scanning all subdirectories,
- including any archives found, for any files with the extension
- .TXT or a consecutive double digit in its name (e.g. DIET14.EXE
- but not PRO1V2.COM).
-
- 8. Analyse your hard disk to find out the relative sizes of each
- subdirectory
-
- D /r%gss
-
- This example also gives the relative percentage usage of each
- subdirectory and plots a bar-chart to show the relative sizes,
- sorting the output by subdirectory size.
-
- 9. To remind you when you haven't backed-up your hard disk recently
-
- D BACK.TAG /!:-7 [You have not backed-up your disk since $d//]
-
- warning the user if 7 days have elapsed since the last backup. The
- user can modify the date of BACK.TAG to the current date each time
- a backup is completed.
-
- 10. Ask multi-option questions from within BAT files (e.g.
- AUTOEXEC.BAT)
-
- D /Ywbd /'Choose (W)indows, (B)ackup hard disk or (D)os prompt ?'
- IF ERRORLEVEL 3 GOTO DOS
- IF ERRORLEVEL 2 GOTO BACKUP
- IF ERRORLEVEL 1 GOTO WINDOWS
-